package config

import (
	"gitee.com/liuxuezhan/ar-platform/base-common/app"
	"github.com/zeromicro/go-zero/rest"
)

type Config struct {
	rest.RestConf
	app.ConfigAppServer
	AssetsRPC  string `json:"AssetsRPC,default=gitee.com/liuxuezhan/ar-platform/assets-rpc-jn-service:80"`
	LoginRpc   string `json:"LoginRpc,default=login-rpc-jn-service:80"`
	SettingRpc string `json:"SettingRpc,default=setting-rpc-jn-service:80"`
	UserRpc    string `json:"UserRPC,default=user-rpc-jn-service:80"`
	Decrypt    struct {
		Key    string `json:"Key"`
		IsOpen bool   `json:"IsOpen,default=true"`
	}
	PlatformBusinessRPC string `json:"PlatformBusinessRPC,default=platform-business-rpc-service:80"`
	WebSocket           string `json:"WebSocket,default=WebSocket:80"`
}
